package com.stellar.circle.convert;

import com.stellar.circle.basic.entity.SSchool;
import com.stellar.circle.controller.admin.sSchool.vo.SSchoolRequestPageVO;
import com.stellar.circle.controller.admin.sSchool.vo.SSchoolRequestVO;
import com.stellar.circle.controller.admin.sSchool.vo.SSchoolResponseVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * 学校信息表转换器
 * @author Jqchan
 * @version 1.0
 * @date 2025-05-17 18:48:39
 */
@Mapper
public interface SSchoolConvert {

    SSchoolConvert INSTANCE = Mappers.getMapper(SSchoolConvert.class);

    SSchool convert(SSchoolResponseVO responseVO);

    SSchool convert(SSchoolRequestVO requestVO);

    SSchool convert(SSchoolRequestPageVO requestPageVO);

    SSchoolResponseVO convert(SSchool entity);

    List<SSchoolResponseVO> convertEntityToRespList(List<SSchool> entities);
}
